Added more functionality to frontend