adding visit-status and login to main page