fix the bug of style in login and register page