set if else for login or logout, added edit profile, generated devise views