fixed url bug in login and register html files