updated login so that cookie remember is for 1 month