after adding register button