finished login/reg functionality added UI elements