Make login work in homepage
Return 404 if dashboard subdomain does not exist
When logging in, redirect without subdomain if coming from homepage