Updated process_*.php with improved returnPage functionality.
Improved user validation.
Improved MySQL queries.