Added login, logout, add_page

Added login, logout, add_page