Upload image, logout and some updates

Updates upload image form and its backend
added logout functionality
Made some pages dinamic