remove slash to make login form accurate