making register some what match login for better user flow