Huge changes with login and devise gem added