change variable name sessions to session to fix bug. add sign up view.