finally got the views and tabs working