Started removing unused code and debugging

Need to fix bugs related to quick view of last shift:
-Previous user's last shift will be displayed for the next log in if it
was not minimized
-Error will occur if user doesn't have any previous shifts