Fixed bug

Fixed:
*crash after creating new account.
*course-list won't change after logging out.