routes and methods for profile and registration