Automated login after successful registration