linked login to register and dashboard