implemented layout of home page and login widget functionality