Implemented structure based on controller and templates

Login page to be refactored via controller