Check Login

Added comments to activity