Upload profile pic functionality added

NOTE: Add password and username and database fields should be filled in.
TO update table, instructions are on updatetable.txt.