finished login functionality, nothing tested :O