Function changes

Two new functions and one modification. Username is stored in session.
log_out(): Pretty self explanatory :-P
user_logged_in(): Returns true if the user is currently logged in