added user like funcitonality to the contoller