Refactored html and templates
Added jquery for login, logout and create new user buttons