Working version of login to Stackoverflow

Signed-off-by: Graham Chiu <compkarori@gmail.com>