use localStorage for login credentials