Login Dialog uses Activity class instead of context class