creating user registration pseudo code.