CheckUserLoggedIn method

CheckUserLoggedIn method implemented in CheckBoxWidget. Code re-factoring in checkbox and postShare widgets.