added on debugging and some devel stuff on the credentials view