use server timestamp for uploads
add rules for users and admin_users collections
refactor uploading styles and logic