Responsive home page
Fix the problem that session is not set after registering