using only one modal for login and register