login form

created system login form, used in mjølner mail to allow for opening
mjølner mail without being logged in, showing a login form.  also fixed
logging out of mjølner mail, and fixed counting of unread emails to only
show emails for user logged in