removed localhost and no longer redirect to #dashboard