added document download #403, #499

Fixed issue 403 , 499..
Added functionality to login when enter key is pressed.
fixed users UI