Added automatic login after signing up