Added new class and fixed issues

Added a new class for Dropbox Session
Fixed the logout button issue