                         pass: 'Password'
                         login: 'Login'
                         logout:'Logout'
+                    
+                    minimized: false
                         
                         
                 content: ->

                        @_getAuthManager().logout (err)=> location.reload()                                        
                        
                    else            
                                            
                        @_getAuthManager().login user.val(), pass.val(), (err)=>                                    
                            if err
                                pass.val ''
                                hint.addClass('error').text(err.message)
                             
                            else
                                 location.reload()
                     
                    return false
                
                done()

                        user = @identity.login()
                        
                        if !user
                            div (if @data.minimized then style:'display:none' else {}), ->
                                input name:'user', value:'', placeholder: @data.strings.user
                                                                        
                                input name:'pass', value:'', type:'password', placeholder:@data.strings.pass
                        
                        button type: 'submit', name:'button', ->
                            if user then @data.strings.logout else @data.strings.login
