Added ui and controller for user authentication. Refactored layout of partials