added login page and logic, new event page and logic, new user page and logic