Completed login and register auth