Added login functionality for toolkit display page, and added logout functionality