Real basics of the Login system & sessions

Not really secure sessions and login system