can now log in via a button click