fix memory leak

every time a user logout, should delete user pointer
fix this bug
add stocks-info file, user-info file