Got login working but because of session management finance page is broken