fix server side issue related to home page (login variable)