new login system with forgot password implemented