Version 31

Fixed the bug that crashed the application if the user is not connected