add login_destination module
fixed index bug