Added template for User class and index.html