forgot to implement log in View
fixes after review