Seem to be having some bugs with user logins & user accounts.
After a user creates an account, they’re able to sign in with any random password multiple times.
When they sign-in with a different password, my database still registers the email as just the one user, but none of the users previous account data is recognised/saved.
I think it has to do with your condition there. As long as “remember me” is not checked it will skip the log in and just proceed to the next page.
You need a condition just in case they don’t have it checked as well.
If you didn’t log your user out previously it will just go straight to the next page and since you never logged out it just shows you your users page.
Just remove the condition and see if it helps to test it.