added debug statements and used route from config
removed whitespace
removed duplicate check if user exists in db
added email to dummy session
removed empty test case
updated dependencies