made alot of changes to login pages
changed file format to contain only php code