Login error fixed and template changed for inbox