fixes views dashboard and js file, put static public methods to get user friend and photos to authVk model