moved the views to the client from the server