Added HUD dependency, added grace time.
Fixed Login screen on portrait orientation, added PromiseKit dependency.