Done with the first half of Final. Have not figured out after logout how to go back to the page where the user came from.