Change file types to PHP to implement login