Refactor with macros and shared examples
Refactor with macros and shared examples
Add shared example for sessions controller