semi-working login, trying to pretty it up