fixing php login admin page bug