added baseurl to config for login redirecting