Added login php and fixed some errors.
Merged commits