add gem mocha, fix single quoted string, add back redirect to dashboard for friend search