added all requirements for login, logout, pw reset and such.