             try request.auth.login(credentials)
             
             var redirect = "/admin/dashboard"
-            if let next: String = request.query?["next"]?.string{
-                if(next != "") {
-                    redirect = next
-                }
+            if let next: String = request.query?["next"]?.string, !next.isEmpty {
+                redirect = next
             }
             
             // Todo deal with remember me            

        }
    }
    
    public func resetPasswordForm(request: Request) throws -> ResponseRepresentable {
        return try drop.view.make("Login/reset", for: request)
    }
    
    public func resetPasswordSubmit(request: Request) throws -> ResponseRepresentable {
        guard let email = request.data["email"]?.string else {
            throw Abort.custom(status: Status.badRequest, message: "Missing email")

        drop = droplet
    }
    
    /**
     * Landing page
     *
     * - param: Request
     * - return: Response
     */
    public func landing(request: Request) throws -> ResponseRepresentable {
        do {
            guard let user: BackendUser = try request.auth.user() as? BackendUser else {
