add viewport
add route for login and logout