crashes when user enters frame. NullPointerException in findCoM function in User class.