wrote this login script which is verifying the password because it is hashed but for some reasons the page refreshes in 0.002 something seconds and stays on the login page.