changed the way users stay logged in.

first checks session if variables exist, then checks for cookies

now fixing double check process to check credentials with server