Added login, logout, and email verification