Added strong parameters and removed @logged_in