fixed login bug and added directory creation
Ratings and Uploads