started storing current user data on client-side instead of rendering through rails