reproduced the userInfo/login part on the main page