Using URL parameters to log user in