adds before_filters and skip_before_filters to ensure authentication functionality and some more stuff to views