accept user by press enter