Add Category for picture upload, Add Logout function
Remmove some debug information
remove useless code