Updated the login credentials by using hash map.