getting shifts by user