seperated login from home. made url routing smarter