Added automatic login upon signup.