made function for changing user borrowing status