changing security and routing to allow access to home page