Basic file uploading

Basic file upload (path stored in the DB), email registration confirmation, and some template modifications.