Updating scopes and Setting up devise initializer