almost finished login/logout functionality.
Also, almost finished database functionality. 
Added cookie storage so that user can be 'remembered'.