changes for user sign-in in all the controllers