Creating a session will join you to it.

also updated testLogin.php and updateLogin() to be more clear.