Fixed Regex issue and minor fix to login Nav for debugging