Linked login to register, small changes