I wanted to modify the account.php file and therefore moved it to the usersc folder. However when I login I get an error message. Is there something I am not doing correct or missing?
Yes, but remember not to MOVE, but to copy the account.php. If you move it to the usersc/ folder, then your new path to the init should be ../users/init.php (i.e. move back one path level, then navigate to /users/init.php).
Thanks for that. I did that and it works fine now. I also figured that out soon after posting the initial post. I did copy/paste the account.php file as opposed to move.
One other thing, in userspice version 3.x I would use the function if(!isUserLoggedIn()) { header("Location: ../my_signin.php"); die(); } to check if user is logged in if not redirect to my own signin page.