Simple PHP authentication example, initial version