working login page along with redirect