moved php functions into separate functions.php file
corrections to html outputs on avatar page
better description for the file upload restrictions