added login page
refactored partial templates: separated frontend and dashboard