Customize the login view + show pdf of query result view