Issue58

#58 
Adding basic login/logout functionality. I'm wondering if this really needs to be pulled in but I'd like someone to play with this and see if it's stable.