fixed router and added the profiles to the loggin screen