feat(*): implemented login and session.

#94, #56 
move to own file.