Pellets working on client and server.
Checks if a user is already logged in.