Login error case handling + methods for data extraction from persistant store