added footer and functionalities