create result in method login