added diagram for restUserLogin