logout functionlaity added. added relation between file_uploads and user.