adds minor fixes and working remember me functonality