logging out view added . Login code errors fixed .. works acording to new implementation..