updated log in/out sections and added routes for login, register, logou