Fix the broken login php file in Frontend