fixing up login; still need to redirect to home after logging in