fixed views controllers. still need logout and done resources to work