PHP login working

Queries the database successfully