Added a new lock for the login