Added security on login