added specs for require login in update info
created before filter for the controller and make this tests pass again