:lipstick: Added test to user class and fixed to bug