after making register activity