check in and check out functionalities added