Added switch between login types
Working local login forms