Make require to login